package com.gouqi.bookdemobackend.model.dto;

import com.gouqi.bookdemobackend.common.PageRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 查询请求
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class BookQueryRequest extends PageRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 书名
     */
    private String name;

    /**
     * 借阅人
     */
    private String userName;
}